package com.clms.system.service;

import com.clms.common.R;
import com.clms.system.pojo.entitry.SysMenu;
import com.clms.system.pojo.vo.OnlyoneVo;
import com.clms.system.pojo.vo.UserVo;

import java.util.List;

/**
 * @program: clms-third
 * @description:
 * @author: 大鱼
 * @create: 2021-07-19 14:20
 **/
public interface MenuService {
    public R findleftmenubyuserid();//通过tokin获取相应的动态左侧

    R getMenuByRoleId(Integer roleId);

    R saveRoleMenu(Integer roleId, List<Integer> roleMenuIds);

    R getAllMenu();

    R getMenuById(Integer menuId);

    R addOrUpdateMenu(SysMenu menu);

    R onlyOneCheckonlyOneCheck(OnlyoneVo onlyoneVo);

    R onlyOneCheckonlyOneCheckUrl(OnlyoneVo onlyoneVo);
}
